import request from "@/utils/request";

// 获取分类
export const reqSearchCategory = () => request.get("/hotWordBillboardCategory");

// 获取分类展示
export const reqSearchCategoryArr = (categoryId: number , size:number) =>
  request.get(`/hotWordBillboard/list/2.0?categoryId=${categoryId}&size=${size}`);

// 实时关键字列表
export const reqSearchKwNwo = (kw: string, paidFilter: boolean) =>
  request.get(`/revision/suggest?kw=${kw}&paidFilter=${paidFilter}&scope=all`);
